<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
		<meta name="HandheldFriendly" content="true"/>
		<meta name="MobileOptimized" content="320"/>
		<title>Hello World</title>
		<script type="text/javascript" src="../js/common.js"></script>
		<script type="text/javascript">
        //扩展API准备执行后要进行的操作，并进行监听
    	function plusReady(){
    		var ws=plus.webview.currentWebview();
    		ws.addEventListener("plusReady",plusReady(),false);
    	}
   		//跳转网址函数
   		function skip(){
            var url=document.getElementById("frame").src;
            url=document.getElementById('t').value;
   		}		
		</script>
		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
		<style type="text/css">
			.aname {
				font-size: 16px;
				text-overflow:ellipsis;
				white-space:nowrap;
			}
			.ainf {
				font-size: 12px;
				text-overflow:ellipsis;
				white-space:nowrap;
			}
			.iplay {
				display: block;
				background: no-repeat right center url();
				background-size: 50px 44px;
				-ms-touch-action: auto;
			}
		</style>
	</head>
	<body>
		<header>
			<div class="nvbt iback" onclick="back(true);"></div>
			<div class="nvtt">Search</div>
		</header>
		<div id="dcontent" class="dcontent">
			<br />
			请输入网址：<input type="text" id="t" value="http://" />
			<div class="button" onclick="skip()">跳转网址</div>
			<iframe id="frame" src="" width="240" height="320"></iframe>
			<br />
		</div>				
	</body>
</html>
